package cn.edu.zafu.bigdata.x.zhouyuyan.work6;

public class TestStudentGradeManager {
    public static void main(String[] args) {
        StudentGradeManage manage = new StudentGradeManage();

        manage.addStudent("Penny",98);
        manage.addStudent("Lina",96);
        manage.addStudent("Tom",90);

        System.out.println("Grade of Penny:"+manage.getGrade("Penny"));
        System.out.println("Grade of Lina:"+manage.getGrade("Lina"));
        System.out.println("Grade of Tom:"+manage.getGrade("Tom"));

        manage.removeStudent("Tom");

        System.out.println("Grade of Penny:"+manage.getGrade("Penny"));
        System.out.println("Grade of Lina:"+manage.getGrade("Lina"));
        System.out.println("Grade of Tom:"+manage.getGrade("Tom"));

    }
}
